package com.bwie.home.backstage.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.home.common.utils.PageUtils;
import com.bwie.home.common.utils.Query;

import com.bwie.home.backstage.dao.HousesUserReplyDao;
import com.bwie.home.backstage.entity.HousesUserReplyEntity;
import com.bwie.home.backstage.service.HousesUserReplyService;


@Service("housesUserReplyService")
public class HousesUserReplyServiceImpl extends ServiceImpl<HousesUserReplyDao, HousesUserReplyEntity> implements HousesUserReplyService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<HousesUserReplyEntity> page = this.page(
                new Query<HousesUserReplyEntity>().getPage(params),
                new QueryWrapper<>()
        );

        return new PageUtils(page);
    }

}